package sis.studentinfotest;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-07-29 14:25
* @notify 
* @version 1.0
*/

import junit.framework.TestCase;
import sis.studentinfo.CourseCatalog;

public class SerializationText extends TestCase {
    public void testLoadToNewVersion() throws Exception{
        CourseCatalog catalog = new CourseCatalog();
        catalog.load("CourseCatalogTest.textAdd.txt");
        assertEquals(2,catalog.getSessions().size());
    }
}
